'use strict';
const { Controller } = require('egg');

class DemoController extends Controller {
  async index() {
    const { ctx } = this;
    const res = await ctx.service.demo.test();
    ctx.success(res);
  }
}

module.exports = DemoController;
